package com.hhs.storage.bean;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuanjun
 * @since 2020-08-19
 */
@TableName("yym_huiyuan_tc")
public class YymHuiyuanTc implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("id_")
    private String id;
    /**
     * 套餐名
     */
    @TableField("name_")
    private String name;
    /**
     * 套餐价格
     */
    @TableField("price_")
    private Integer price;
    /**
     * 套餐年限
     */
    @TableField("nianxian_")
    private Integer nianxian;
    /**
     * 套餐标识（vip svip）
     */
    @TableField("flag_")
    private String flag;
    /**
     * 套餐关联的角色id
     */
    @TableField("role_id_")
    private String roleId;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getNianxian() {
        return nianxian;
    }

    public void setNianxian(Integer nianxian) {
        this.nianxian = nianxian;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "YymHuiyuanTc{" +
        "id=" + id +
        ", name=" + name +
        ", price=" + price +
        ", nianxian=" + nianxian +
        ", flag=" + flag +
        ", roleId=" + roleId +
        "}";
    }
}
